<?php
// 退出
// 清空session
session_destroy();
$result=[
    "success"=>true,
    "msg"=>"退出成功",
    "code"=>200
];
header("ContentType:application/json;charset=utf-8");
echo json_encode($result);
?>